// page/afterPay/afterPay.js
Page({
  data: {
    id: "",
    title: "",
  },
  onLoad: function (options) {
    var detail = JSON.parse(options.detail);
    this.setData({
      id: detail.ID,
      title: detail.Title
    });
  },
  onAfterPay:function(){
    
    wx.navigateTo({
      url: '/pages/center/order/order',
    })
  }
});